package com.ruoyi.marketing.mapper;

import com.ruoyi.marketing.vo.ActivityUserVo;
import com.ruoyi.marketing.vo.PrizeDetailVo;
import com.ruoyi.marketing.vo.UserDetailVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: renSen
 * @Date: 2023/01/29
 * @Description:
 */
public interface MarketActivityUserMapper {
    /**
     * 查询营销活动明细
     *
     * @return
     */
    List<ActivityUserVo> list(ActivityUserVo vo);

    /**
     * 产需参与活动用户详情
     *
     * @param id
     * @return
     */
    List<UserDetailVo> listUserDetail(@Param("id") Long id);

    /**
     * 查看中奖明细
     * @param useId 用户id
     * @param activityId  活动id
     * @return
     */
    List<PrizeDetailVo> listPrizeDetail(@Param("userId") Long useId, @Param("activityId") Long activityId);
}
